<!--
  Generated template for the DiscoveryPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

    <ion-navbar>
        <ion-title>发现</ion-title>
    </ion-navbar>

</ion-header>


<ion-content>
    <ion-refresher (ionRefresh)="doRefresh($event)">
        <ion-refresher-content pullingIcon="arrow-dropdown" pullingText="下拉刷新" refreshingSpinner="circles" refreshingText="刷新中...">
        </ion-refresher-content>
    </ion-refresher>

    <ion-card *ngFor="let item of questions,let i = index;" (tap)="goDetail(item.IdentityId)">
        <ion-item>
            <ion-avatar item-start>
                <img [src]="item.HeadFace" alt="">
            </ion-avatar>
            <p>
                {{item.UserNickName}}&nbsp;发布了该问题
                <ion-icon name="more" class="moar_buttom"></ion-icon>
            </p>
        </ion-item>
        <h2>{{item.ContentTitle}}</h2>
        <ion-card-content>
            <p>{{item.ContentSummary}}</p>
        </ion-card-content>
        <ion-row>
            <ion-col col-8 center text-left>
                <ion-note>
                    {{item.LikeCount}}&nbsp;赞同&nbsp;&nbsp;·&nbsp;&nbsp;{{item.CommentCount}}&nbsp;评论&nbsp;&nbsp;·&nbsp;&nbsp;关注问题
                </ion-note>
            </ion-col>
            <ion-col col-4></ion-col>
        </ion-row>
    </ion-card>
</ion-content>